package com.supcon.exchangedata.pojo.entity.oracle;

import lombok.Data;

import javax.persistence.*;
import javax.persistence.Column;
import javax.persistence.Table;
import java.math.BigDecimal;

/**
 * Created with IntelliJ IDEA.
 * @Author: yangbin
 * @Date: 2022/12/23/15:59
 * @Description: 
 */
/**
    * 车辆信息表
    */
@Data
@Table(name = "CT_GPS_STATISITC_INFO")
@Entity
public class CtGpsStatisitcInfo {
    /**
    * 车牌号码
    */
    @Basic
    @Column(name = "LICENSE_PLATE_NUM")
    private String licensePlateNum;

    /**
    * 经度
    */
    @Basic
    @Column(name = "LONGITUDE")
    private Double longitude;

    /**
    * 纬度
    */
    @Basic
    @Column(name = "LATITUDE")
    private Double latitude;

    /**
    * 速度
    */
    @Basic
    @Column(name = "SPEED")
    private BigDecimal speed;

    /**
    * 车辆线路
    */
    @Basic
    @Column(name = "LINE_ID")
    private String lineId;

    /**
    * 录入时间
    */
    @Basic
    @Column(name = "CURR_TIME")
    private String currTime;

    /**
    * 所属集团
    */
    @Basic
    @Column(name = "TYPE")
    private Long type;

    /**
    * 业务类型
    */
    @Basic
    @Column(name = "LAYER_CODE")
    private String layerCode;

    @Basic
    @Column(name = "CLZBH")
    private String clzbh;

    /**
    * 序号
    */
    @Id
    @GeneratedValue(strategy = GenerationType.SEQUENCE, generator = "ctCarGps")
    @SequenceGenerator(name = "ctCarGps", sequenceName = "SEQ_CT_GPS_STATISITC_INFO", allocationSize = 1)
    @Column(name = "ID")
    private Long id;
}